package de.jonasblatt.networkapi.rpi.network.commands.server;

import de.jonasblatt.networkapi.rpi.network.commands.ServerCommand;
import de.jonasblatt.networkapi.rpi.networkapi.rpi.client.Client;

public class SCJoinServerDenied implements ServerCommand {

	@Override
	public void execute(Client client) {
		if (!client.hasId()) {
			client.denyJoinRequest();
		}
	}
}